﻿@model ABCTile.Models.User

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>User</legend>

    <div class="display-label">User ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserID)
    </div>

    <div class="display-label">UserPW</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserPW)
    </div>

    <div class="display-label">UserFname</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserFname)
    </div>

    <div class="display-label">UserMname</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserMname)
    </div>

    <div class="display-label">UserLname</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserLname)
    </div>

    <div class="display-label">UserEmail</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserEmail)
    </div>

    <div class="display-label">FullName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FullName)
    </div>

    <div class="display-label">Role</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Role.RoleName)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
